# 获取当前登录用户的用户名
current_user=$SUDO_USER
# 解决目录权限问题
echo "Setting directory permissions..."
sudo chown -R "$current_user":"$current_user" /home/"$current_user"/ivsql
sudo chmod 700 /home/"$current_user"/ivsql/data
echo "Directory permissions set successfully."
# 解决语言环境配置问题
echo "Configuring language environment..."
